﻿//
// GNS_ApplyTopUp.h
// MobileManageSys
//FuncTion 申请充值
// Created by mr.l on 16/1/14.
//
//

#ifndef __MobileManageSys__GNS_ApplyTopUp__
#define __MobileManageSys__GNS_ApplyTopUp__

#include "cocos2d.h"
#include "cocostudio/CocoStudio.h"
#include "ui/CocosGUI.h"
#include "GNS_Common.h"
#include "GNS_CursorTextField.h"
#include "GNS_Handler.h"

US_NS_CUSTOM_UI;
USING_NS_CC;
using namespace cocostudio::timeline;
using namespace ui;

class GNS_ApplyTopUp : public Layer
{
public:
    GNS_ApplyTopUp();
    ~GNS_ApplyTopUp();
    static GNS_ApplyTopUp* createLayer();
    virtual bool init();
    CREATE_FUNC(GNS_ApplyTopUp);
    void BtnCallBack(Ref *pSender , ui::Widget::TouchEventType type);
    void SetNodeName(std::string CsbName);
    void SenDetection();
private:
    //void textFieldEvent(Ref * pSender , ui::TextField::EventType type,int flag);
	void textFieldIDEndCallback();
	void textFieldGoldEndCallback();
private:
	void OnUIAction(std::string Text,bool isUTF);
    TextField * TopID;
    Text * NoteTheName; // 备注名
    //GNS_CursorTextField * TopID ; //充值对象
    //GNS_CursorTextField * NoteTheName ;
    TextField * TopUplines; // 充值额度
	CustomEditBox* _TopID;
	CustomEditBox* _TopUplines;
    //GNS_CursorTextField * TopUplines ;
    //GNS_CursorTextField * RLines ;
    Text * RLines;//R 值额度
    //GNS_CursorTextField *NoteManage ;
    TextField * NoteManage;//备注信息
    Node * pGNS_ApplyTopUp;
    PopWndLayer * pPopWnd;
};

#endif /* defined(__MobileManageSys__GNS_ApplyTopUp__) */